<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>Title</title>
    </head>
    <body>
        <h1>分页表格</h1>
        <table border="1" style="border-collapse: collapse">
            <thead>
                <tr>
                    <th>ID</th>
                    <th>用户名</th>
                    <th>状态</th>
                </tr>
            </thead>
            <tbody id="mytbody"></tbody>
        </table>

        <div>
            总共<span id="stotal">1</span>条数据 当前页码数为：<span id="spage">1</span>
            <button onclick="hendleBeforeClick()">上一页</button>
            <button onclick="handleNextClick()">下一页</button>
        </div>

        <script src="/asserts/vendors/jquery.min.js"></script>
        <script src="/asserts/js/table.js"></script>
    </body>
</html>
